package com.base.po.voip;

/**
 * 新闻广告
 * 
 * @author K
 *
 */
public class NewsAdvertisement {
    private String id;// id

    private String parentid;// 所属商id

    private String text;// 广告名

    private String pic;// 广告图

    private String url;// 广告路径

    private Integer position;// 广告在新闻的位置

    private Byte status;// 是否显示

    private Byte datastatus;// 状态

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Byte getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Byte datastatus) {
        this.datastatus = datastatus;
    }

	public NewsAdvertisement() {
		super();
	}

	public NewsAdvertisement(String id, String parentid, String text, String pic, String url, Integer position,
			Byte status, Byte datastatus) {
		super();
		this.id = id;
		this.parentid = parentid;
		this.text = text;
		this.pic = pic;
		this.url = url;
		this.position = position;
		this.status = status;
		this.datastatus = datastatus;
	}
}